package com.cskaoyan.service.promoteservice;


import com.cskaoyan.bean.promotebean.Topic;
import com.cskaoyan.vo.promotevo.TopicCreateVO;
import com.cskaoyan.vo.promotevo.TopicListVO;
import com.cskaoyan.vo.promotevo.TopicUpdateVO;
import com.cskaoyan.vo.wx.WxTopicDetailVo;
import com.cskaoyan.vo.wx.WxTopicListVo;

import java.util.List;


/**
 * @Author: feisl
 * @Date: 2021/5/10 1:16
 */
public interface TopicService {
    TopicListVO queryTopicAll(Integer page, Integer limit, String title,String subtitle,String sort, String order);

    TopicCreateVO insert(Topic topic);

    TopicUpdateVO update(Topic topic);

    void delete(Integer id);

    WxTopicListVo list(Integer page, Integer size);

    WxTopicDetailVo detail(Integer id);

    List<Topic> related();

}
